import junit.framework.TestCase;


public class Test_JUnit3 extends TestCase {

	Liczba Liczba = null;
	protected void setUp() throws LiczbaException
	{
		Liczba = new Liczba("FA",16);
	}
	public void testOne() throws Exception
	{
		int i = Liczba.Wartosc('C',16);
		assertSame(i,12);
		
	}
	public void testTwo() throws Exception
	{
		String str = Liczba.zapis(2);
		assertEquals(str,"11111010");
	}
	public void testThree() throws Exception
	{
		int i = 300;
		assertTrue(Liczba.n <= i);
		
	}
	public void testFour() throws Exception
	{
		String str = Liczba.zapis(14);
		assertNotSame(str, "13D");
	}
	public void testFive() throws Exception
	{
		int i = 200;
		assertFalse(Liczba.n < i);
	}
	public void TearDown()
	{
		Liczba = null;
	}
}
